# 使用基础的 Amazon Corretto 8 镜像
FROM docker.jianmuhub.com/library/node:16.19.0-buster-slim

RUN npm config set registry https://registry.npm.taobao.org/ && npm install -g apifox-cli

ADD script/* /usr/local/bin/
RUN chmod +x /usr/local/bin/cli_start

ENTRYPOINT ["/usr/local/bin/cli_start"]